import { useApprovalProvide } from '../../approval-helper';
import { ApprovalProgress } from './list';
import { ccInfoProvideKey } from './list/item/CCInfo';
// export { HistoryApprovalList, useApprovalHistory } from './history';
export { ApprovalProgress };
// 当前审批
export const CurrentApprovalList = defineComponent({
  setup() {
    const { progressData } = useApprovalProvide();
    provide(ccInfoProvideKey, { mode: 'edit' });
    return {
      progressData
    };
  },
  render() {
    return <ApprovalProgress {...this.$attrs} data={this.progressData} />;
  }
});
